/**
 * Created by Administrator on 2018/2/2.
 */
   function ajaxRequest(type,url,data,success,error,token){
            $.ajax({
                type:type,
                url:url,
                contentType: "application/x-www-form-urlencoded; charset=utf-8",
                headers:{
                    "X-CSRFToken":token
                },
                data:data,
                success:success,
                error:error
            })
    }